package com.example.shop.pojo;

import java.sql.Timestamp;

/**
 * 部门DTO类
 * 
 * @author Administrator
 *
 */
public class DepartmentDto extends Department {
	//用户部门信息
	/**
	 * 用户部门id
	 */
	private Long userDepartmentId;
	/**
	 * 用户账号
	 */
	private String userAccount;
	/**
	 * 用户父类(上司)账号
	 */
	private String userParentAccount;
	/**
	 * 部门职位
	 */
	private String userPosition;
	/**
	 * 父类用户姓名
	 */
	private String userParentName;
	//任务信息
	
	
	
	
	/**
	 * @return the userPosition
	 */
	public String getUserPosition() {
		return userPosition;
	}

	/**
	 * @param userPosition the userPosition to set
	 */
	public void setUserPosition(String userPosition) {
		this.userPosition = userPosition;
	}

	/**
	 * @return the deviceNumber
	 */
	

	public Long getUserDepartmentId() {
		return userDepartmentId;
	}

	/**
	 * @return the userParentName
	 */
	public String getUserParentName() {
		return userParentName;
	}

	/**
	 * @param userParentName the userParentName to set
	 */
	public void setUserParentName(String userParentName) {
		this.userParentName = userParentName;
	}

	public void setUserDepartmentId(Long userDepartmentId) {
		this.userDepartmentId = userDepartmentId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserParentAccount() {
		return userParentAccount;
	}

	public void setUserParentAccount(String userParentAccount) {
		this.userParentAccount = userParentAccount;
	}

	

	@Override
	public String toString() {
		return "DepartmentDto [userDepartmentId=" + userDepartmentId + ", userAccount=" + userAccount
				+ ", userParentAccount=" + userParentAccount + ", userPosition=" + userPosition + ", userParentName="
				+ userParentName + ", toString()=" + super.toString() + "]";
	}

	public DepartmentDto() {
		super();
		// TODO Auto-generated constructor stub
	}

	public DepartmentDto(Long departmentId, Long departmentFatherId, String departmentName,
			String departmentDescription, String departmentState, Timestamp createdDate) {
		super(departmentId, departmentFatherId, departmentName, departmentDescription, departmentState, createdDate);
		// TODO Auto-generated constructor stub
	}

}
